package db

type DbConfig struct {
	Driver        string `yaml:"driver" gorm:"comment:驱动程序"`
	Dsn           string `yaml:"dsn" gorm:"comment:连接字符串"`
	ReadDsn       string `yaml:"readDsn" gorm:"comment:连接字符串"`
	SlowThreshold int64  `yaml:"SlowThreshold" gorm:"comment:慢sql毫秒"`
	ShowSql       bool   `yaml:"showSql" gorm:"comment:显示sql"`
}
